<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="false" pageEncoding="UTF-8" %>
<html>
<head>
	<title>about</title>
	<style>
		.error{
		 	color:#ff0000;
		 	font-weight: bold; 
		 }
	</style>
</head>
<body>
<h1>
	Court Reservation System 
</h1>

<form:form method="post" modelAttribute="reservation">
<form:errors path="*" cssClass="error" />
<table>
	<tr>
		<td><form:input path="courtName" /></td>
		<td><form:errors path="courtName" cssClass="error" /></td>
	</tr>		
	<tr>
		<td><form:input path="date" /></td>
		<td><form:errors path="date" cssClass="error" /></td>
	</tr>		
	<tr>
		<td><form:input path="hour" /></td>
		<td><form:errors path="hour" cssClass="error" /></td>
	</tr>		
	<tr>
		<td colspan="3"><input type="submit" /> </td>
	</tr>	
</table>
</form:form>

</body>
</html>
